show ospf lsdb

show ospf lsdb {detail | stats} {area [area-identifier | all]} {{lstype} [lstype | all]} {lsid lsid-address{lsid-mask}} {routerid routerid-address {routerid-mask}} {interface[[ip-address{ip-mask} | ipNetmask] | vlan vlan-name]}

Description

Displays a table of the current Link-State Database (LSDB).

Syntax Description

detail Specifies to display all fields of matching LSAs in a multi-line format.
stats Specifies to display the number of matching LSAs, but not any of their contents.
area-identifier Specifies an OSPF area.
all Specifies all OSPF areas.
lstype Specifies an LS type.
lsid Specifies an LS ID.
lsid-mask Specifies an LS ID mask.
routerid-address Specifies a LSA router ID address.
interface Specifies to display interface types.
vlan-name Specifies a VLAN name.

Default

Display in summary format.

Usage Guidelines

ExtremeXOS provides several filtering criteria for the show ospf lsdb command. You can specify multiple search criteria and only the results matching all of the criteria are displayed. This allows you to control the displayed entries in large routing tables.

A common use of this command is to omit all optional parameters, resulting in the following shortened form:

show ospf lsdb

The shortened form displays all areas and all types in a summary format.

You can filter the display using either the area ID, the remote router ID, or the link-state ID. The default setting is all with no detail. If detail is specified, each entry includes complete LSA information.

Example

The following command displays all areas and all types in a summary format:

show ospf lsdb

History

This command was first available in ExtremeXOS 10.1.

Platform Availability

This command is available on platforms with Base license, or higher, as described in the Switch Engine v33.1.1 Licensing Guide document.